package org.wzh.spring.aop.demo2.test;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.wzh.spring.aop.demo2.ConcertConfig;
import org.wzh.spring.aop.demo2.Performance;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes=ConcertConfig.class)
public class DemoTest1 {
	
	@Autowired
	private Performance performance;
	
	@Test
	public void test1() {
		performance.perform();
	}

}
